#!/bin/sh

cmd=''
if type qperf >/dev/null 2>&1;then
  cmd='qperf'
elif [ -e "$BENCHMARK_ROOT/qperf" ];then
  cmd='./qperf'
  cd $BENCHMARK_ROOT/qperf
else
   exit
fi

modprobe sctp 2>/dev/null
log_cmd $cmd &
